﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Taurus.Components;
using System.Windows.Forms;

namespace Taurus.TestComponent
{
    class TestComponent:IComponent
    {
        public TestComponent()
        {
            Components = new List<IComponent>();
            Components.Add(new TestSubComponent());
        }

        #region IComponent 成员

        public string Name
        {
            get { return "测试组件"; }
        }

        public string Version
        {
            get { return "1.0.0.1"; }
        }

        public string Unique
        {
            get 
            {
                return "86D86940-DC07-4175-880D-5C09C289F9CF";
            }
        }

        public List<IComponent> Components
        {
            get;
            set;
        }

        public UserControl GetUI()
        {
            return null;
        }

        #endregion
    }
}
